package com.fastCms.business.bim.pojo.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 碳足迹
 */
@Data
public class CarbonFootprintVO {
    private String today;
    private String startDay;
    private String endDay;
    //企业信息
    private Company company;

    //原材料 -rawMaterialList
    private List<Ycl> yclList;

    //原材料生产-百分比-rawMaterialProduceRate
    private String scpfzzb;

    //原材料生产-排放量-总
    private BigDecimal sczpf;

    //原材料运输-总碳排放量-占比-rawMaterialTransportRate
    private String yspfzzb;

    //原材料运输-排放量-小计- rawMaterialTransportCarbon
    private BigDecimal yszpf;

    //电的能源用量
    private BigDecimal dyl;
    //电的碳排放量
    private BigDecimal dpf;
    //电的碳排放量占比
    private String dpfzb;

    //柴油的能源用量
    private BigDecimal cyyl;
    //柴油的碳排放量
    private BigDecimal cypf;
    private String cypfzb;


    //产品生产阶段(能源)碳总的排放量
    private BigDecimal nyzpf;

    //产品生产阶段(能源)碳总的排放量总占比
    private String nypfzzb;

    //总排放
    private BigDecimal zpf;

    /**
     * 企业相关
     */
    @Data
    public static class Company {
        private String name = "嘉兴零碳实验室有限公司";
        private String phone = "15757851111";
        private String link = "吴中人";
        private String address = "浙江省嘉兴市";
        private String productName = "岩棉夹芯板";
        private String productUnit = "吨/T";
    }


    /**
     * 原材料
     */
    @Data
    public static class Ycl {
        //姓名
        private String name;
        //数量
        private BigDecimal num;
        //排放因子
        private BigDecimal pfyz;
        //运输方式
        private String ysfs;
        //运输距离
        private BigDecimal ysjl;
        //运输排放因子-
        private BigDecimal ysyz;
        //生产碳排放量-计算得出-
        private BigDecimal scpf;
        //运输碳排放量-计算得出-
        private BigDecimal yspf;
        //运输碳排放量-计算得出-
        private String scpfzb;
        //运输碳排放量-计算得出-
        private String yspfzb;

        private String startMerge;
        private String endMerge;


    }

}
